
package com.insigma.business.qrcode.common.service;




import com.insigma.business.qrcode.common.dto.CommonFavoriteBSearcher;
import com.insigma.business.qrcode.common.dto.CommonFavoriteDO;

import java.util.List;


public interface CommonFavoriteService {

   
    List<CommonFavoriteDO> search(final CommonFavoriteBSearcher innerSearcher);

    
    CommonFavoriteDO get(final String id);

    
    Integer insert(final CommonFavoriteDO commonFavorite);

    
    Integer update(final CommonFavoriteDO commonFavorite);

    
    Integer delete(final String id, final String modifierType, final String modifierId);

 
 CommonFavoriteDO getBySoldierIdAndType(String soldierId, String type);

 Integer countByTypeAndId(String type, String bizId);

 CommonFavoriteDO getBySoldierIdAndTypeAndBizId(String soldierId, String type, String bizId);

    List<CommonFavoriteDO> searchMerchant(CommonFavoriteBSearcher commonFavoriteBSearcher);
}
